#include "tcpsocket.h"
#include "debug.h"
#include "file_transfer.h"
#include <unistd.h>

int main(int argc, char const *argv[])
{
    // 创建tcp 套接字
    int cfd = create_tcp_client_socket(argv[1], argv[2]);

    // 客户端上传文件
    upload_file(argv[3], cfd);
    close(cfd);
    return 0;
}
